home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Compile Problems
- Sent: 5/25/96 1:59 PM
- Received: 5/28/96 8:25 AM
- From: Jim Lloyd, jim@melongem.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- At 12:12 PM 5/24/96, Hutchings Software Development wrote:
- >Hi,
- >
- >Here's what I'm trying to do. Basically, using FW_CEditText as a model
- >(but not a superclass), I'm trying to write a general scrolling,
- >styled text view in one class. It needs to be both a notifier and a
- >receiver.
- >
- >I copied the following out of the CW Message Box.
- >
- >
- >Error : illegal use of abstract class
- >('FW_MReceiver::HandleNotification(Environment*,constFW_CNotification&)')
-
- I believe that this first error message contains all the information
- necessary to solve the problem. FW_MReceiver declares the method
- HandleNotification to be pure virtual, and it appears that your subclass
- didn't override the method.
-
- Admittedly, the next part of the error is gobbledygook:
-
- >StyleEditView.cpp line 894 FW_CPrivWatcher(FW_PrivGetDeleteProc((const
- >CStyleEditView*)0))) CStyleEditView(ev), FW_PrivWatcher_Pop() )
-
- This is a partial expansion from FW_NEW. If anybody is *really* curious, I
- could explain what FW_NEW is doing.
- Note that unless you have a good reason not to, you should consider using
- native exceptions, then you won't have to deal with the RTTI and Exception
- related macros.
-
- Jim Lloyd
-
-